#!/bin/bash

# 创建文件 (CREATEFILE)
echo "This is a test file" > test_file.txt
echo "Created test_file.txt"

# 设置文件属性 (SETFILEATTR)
chmod 644 test_file.txt
echo "Set permissions for test_file.txt"

# 写入文件 (WRITEFILE)
echo "Adding some content to the file" >> test_file.txt
echo "Wrote to test_file.txt"

# 读取文件 (READFILE)
cat test_file.txt
echo "Read test_file.txt"

# 删除文件 (DELFILE)
rm -f test_file.txt
echo "Deleted test_file.txt"
